<?php
	$html->addCrumb('Manager','/manager/');
	$html->addCrumb('Dozent anlegen','/manager/professors/add');
	
	echo  $this->element('tasks',array('target'=>'/manager/professors'));
?>
<div class="title">Dozent anlegen</div>

<?php echo $this->element('flashMessage') ?>

<?php 
	echo $this->Form->create('Professor',array('class'=>'form','action'=>'add'));
	
	echo $this->Form->input('first_name',array('label'=>'Vorname:*'));
	echo $this->Form->input('family_name',array('label'=>'Nachname:*'));
	echo $this->Form->input('title',array('label'=>'Titel:'));
	echo $this->Form->input('email',array('label'=>'email:'));
	echo $this->Form->input('phone_number',array('label'=>'Telefon:'));
	
	
	echo '<div class="form_div_buttons">';
	echo '<input type="submit" name="Anlegen" value="Anlegen">';
	echo '<a href="'.URL_PREFIX.'/manager/"><button>Abbrechen</button></a>';
	echo '</div>';
	
	echo $this->Form->end();
?>